#include <iostream>
using namespace std;
#include <string>
#include <fstream>


int main()
{
	/*ofstream out("test.txt", ios::out);
	out << "hel\nlo";
	out << "world";

	out.close();*/

	ifstream in("test.txt", ios::in);
	string line;
	while (getline(in, line))
	{
		cout << line;
	}
	in.close();

	return 0;
}